<template>
    <div id="callIndex" class="container-fluid padding">
        <el-form :inline="false" ref="saveDatas" label-position="right" :model="saveDatas" label-width="100px">
            <el-form-item label="所属公司">
                <el-input v-model="saveDatas.dlxlStr" type="text" style="width: 300px"></el-input>
            </el-form-item>
            <el-form-item label="员工名称">
                <el-input v-model="saveDatas.ygmc" type="text" style="width: 300px"></el-input>
            </el-form-item>
            <el-form-item label="员工工号">
                <el-input v-model="saveDatas.yggh" type="text" style="width: 300px"></el-input>
            </el-form-item>
            <el-form-item label="坐席号码">
                <el-input v-model="saveDatas.zxhm" type="text" style="width: 300px"></el-input>
            </el-form-item>
            <el-form-item label="员工性别">
                <el-radio v-model="saveDatas.xb" label="1">男</el-radio>
                <el-radio v-model="saveDatas.xb" label="2">女</el-radio>
            </el-form-item>
            <el-form-item label="身份证号">
                <el-input v-model="saveDatas.sfzh" type="text" style="width: 300px"></el-input>
            </el-form-item>
        </el-form>
    </div>
</template>

<script>
    export default {
        name: "callIndex",
        data() {
            let saveDatas_= JSON.parse(this.$cache_.getCookie('allData'));
            let temp = '';
            for (let i in JSON.parse(saveDatas_.dlxl_)){
                if (JSON.parse(saveDatas_.dlxl_)[i] != undefined){
                    temp += JSON.parse(saveDatas_.dlxl_)[i] + '-->'
                }
            }
            temp = this.$my_.trim(temp,'-->')
            saveDatas_.dlxlStr = temp
            return {
                saveDatas:saveDatas_
            }
        },
        methods: {
        }
    }
</script>